import request from './request'

export const searchSong = (searchKeyWorld) => {
  return request.get('/song/search', {
    params: searchKeyWorld
  })
}


// export const searchSong = (id)=>{
//   axios({
//     method: 'get',
//     url: `/song/search/${id}`,
//   })
// };

export const searchSongDetail = (id) => {
  return request.get('/song/detail', {
    params: {songId: id}
  })
}

export const recommendSong = () => {
  return request.get('/recommend/list')
}

export const hotSong = (params) => {
  return request.get('/order/list', {
    params: params
  })
}

